package com.legendshop.openportal.sdk.model.request;

import com.legendshop.openportal.sdk.model.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

import static com.legendshop.openportal.sdk.model.constants.ApiPathConstants.PROD_DETAIL;

/**
 * @Description: 商品详情查询
 * @Author lwj
 * @data 2024/6/28
 **/
@Data
@Accessors(chain = true)
public class ProdDetailRequest extends BaseRequest {
    private static final long serialVersionUID = -452404309789639046L;

    @NotNull(message = "商品id不能为空")
    @ApiModelProperty(value = "商品id")
    private Long prodId;



    @Override
    @ApiModelProperty(hidden = true)
    public String getApiPath() {
        return PROD_DETAIL;
    }
}
